package cn.edu.javaweb.service;

import cn.edu.javaweb.utils.DBUtil;

public class AdminDeleBlistService {
	public int getDele(String id){
		DBUtil db;
		
		db=new DBUtil(); //建创对象 搭桥配置初始化
		String sql="update user set roster='1' where id='"+id+"'";
		System.out.println(sql);
		int result=db.update(sql);
		
		return result;
	}
}
